package com.richest.api.dao;

import java.util.List;
import java.util.Map;

import com.richest.bean.RoleModulePermissionBean;

/**
 * 角色、模块和权限关系信息实体映射
 * @author 杨博
 * @version richest-api 2.0
 *
 */
public interface RoleModulePermissionMapper {
	Integer roleModulePermissionAdd(RoleModulePermissionBean bean);

	Integer roleModulePermissionUpdate(RoleModulePermissionBean bean);

	Integer roleModulePermissionDelete(Long id);

	RoleModulePermissionBean roleModulePermissionSelectOne(Long id);

	List<Map<String, Object>> roleModulePermissionSelectMap(Map<String, Object> params);
}
